package com.jia;

import redis.clients.jedis.Jedis;

public class TestPing {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("127.0.0.1",6379);
        // Jedis 所有的指令都在这里
        System.out.println(jedis.ping());
        jedis.set("name","jiajia");
        System.out.println(jedis.get("name"));
    }
}